home *** CD-ROM | disk | FTP | other *** search
/ Star Festival... a Return to Japan / Star Festival... a Return to Japan.iso / pc / STARFESTIVAL / 09q.dir / 00001.ls next >
Encoding:
Text File  |  1999-04-04  |  1.0 KB  |  43 lines

  1. on startMovie
  2.   global qtChan, gCursorReady, gMagCursor, gMoviePlay
  3.   gCursorReady = 1
  4.   gMagCursor = "magCursor"
  5.   gMoviePlay = 2
  6.   puppetSprite(46, 1)
  7.   qtChan = 11
  8.   sprite(qtChan).volume = 256
  9.   cast("boat").directToStage = 1
  10.   preLoad(qtChan - 1)
  11. end
  12.  
  13. on idle
  14.   global gCursorReady
  15.   if gCursorReady = 1 then
  16.     cursor(200)
  17.     checkCursors()
  18.     set the locH of sprite 46 to the mouseH
  19.     set the locV of sprite 46 to the mouseV
  20.     updateStage()
  21.   end if
  22. end
  23.  
  24. on checkCursors
  25.   global gMagCursor, gMoviePlay
  26.   set the castNum of sprite 46 to the number of member "curs1"
  27.   if rollOver(4) then
  28.     set the castNum of sprite 46 to the number of member "hotCursor"
  29.   end if
  30.   if rollOver(13) then
  31.     if gMoviePlay = 0 then
  32.       set the castNum of sprite 46 to the number of member "hotCursor"
  33.     else
  34.       set the castNum of sprite 46 to the number of member "nonCursor"
  35.     end if
  36.   end if
  37.   repeat with i = 20 to 22
  38.     if rollOver(i) then
  39.       set the castNum of sprite 46 to the number of member "hotCursor"
  40.     end if
  41.   end repeat
  42. end
  43.